<?php 
/*
 module:		会员管理验证器
 create_time:	2022-03-01 20:24:01
 author:		
 contact:		
*/

namespace app\backend\validate;
use think\validate;

class VipSys extends validate {


	protected $rule = [
		'vip_name'=>['require'],
		'price'=>['require'],
		'days'=>['require'],
	];

	protected $message = [
		'vip_name.require'=>'名称不能为空',
		'price.require'=>'价格不能为空',
		'days.require'=>'有效时长不能为空',
	];

	protected $scene  = [
		'add'=>['vip_name','price','days'],
		'update'=>['vip_name','price','days'],
	];



}

